package com.itheima.service;

import com.itheima.pojo.Dept;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * 部门业务层接口
 */
public interface DeptService {
    List<Dept> findAll();

    void insert(Dept dept);

    void update(Dept dept);

    //void deleteById(Integer id) throws Exception;
    void deleteById(Integer id);

    Dept getById(Integer id);
}
